Change getHours() to 12 Hour Format in JavaScript